def my_gene():
    print('first')
    yield 'second'
    print('third')
    yield 'fourth'
    print('fifth')
    yield 'sixth'


if __name__ == '__main__':
    ret = my_gene()
    for r in ret:
        print(r)
